# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=elettra-gui
pkgver=1.0
pkgrel=6
pkgdesc='Gui for the elettra crypto application.'
arch=('x86_64' 'aarch64')
url='http://www.winstonsmith.info/julia/elettra/'
license=('custom')
depends=('wxwidgets-gtk3' 'elettra')
groups=('blackarch' 'blackarch-misc')
source=('http://www.winstonsmith.info/julia/elettra/elettra_gui.tar.gz')
sha512sums=('c76e027324fd5735307fa591c802892f623ee25b09e1ea44cd9fadfada8f26fc2a860fe1a9bbe357a172f584cb1dea3e9f2953da8599cb563b3a4ff20add7786')

build() {
  cd elettra_gui

  g++ *.cpp -I. `wx-config --cxxflags --libs` -o elettra_gui
}

package() {
  cd elettra_gui

  install -Dm 755 elettra_gui "$pkgdir/usr/bin/$pkgname"
}

